import request from '@/utils/request'
// 获取文章分类
export const artGetChannelsService = () => request.get('/my/cate/list')
// 更新分类
export const artUpdateChannelService = (data) =>
  request.put('/my/cate/info', data)

// 添加分类
export const artAddChannelService = (data) => request.post('/my/cate/add', data)

// 删除分类
export const artDelChannelService = (id) =>
  request.delete('/my/cate/del', {
    params: {
      id
    }
  })
